<template>
  <div class="zw-layout">
    <el-scrollbar class="main-scrollbar">
      <router-view />
      <!-- <transition name="fade">
        <router-view />
      </transition> -->
    </el-scrollbar>
  </div>
</template>

<script setup lang="ts">
  
  

</script>

<style lang="scss" scoped>
  .zw-layout {

    .fade-enter-from, .fade-leave-to{
      opacity: 0;
    }
    .fade-enter-to, .fade-leave-from{
      opacity: 1;
    }
    .fade-enter-active, .fade-leave-active{
      transition: all .6s;
    }
    
  }

</style>
